.allgood {
    .head {
        background-color: #fff;
        position: fixed;
        top: 0;
        width: 100%;
        // background-color: green;
        z-index: 999;
        // border-bottom: 1px solid #ccc;

        // 头部分类
        .header {
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: right;
            padding: 10px 10px 0;

            span {
                font-size: 18px;
                margin-right: 120px;
            }
        }

        // 搜索框
        .search {
            padding: 10px;
        }

        .nav {
            height: 30px;
            background-color: red;
        }
    }

    .goods {
        height: 500px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 120px 10px 50px;
        background-color: #f5f5f5;
        overflow-y: auto;

        .good {
            width: 42%;
            background-color: #fff;
            margin: 10px 0;
            padding: 10px;
            line-height: 20px;

            img {
                width: 80%;
            }

            .name {
                font-size: 14px;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                overflow: hidden;
            }

            .price {
                color: rgb(231, 60, 60);
            }

            span {
                color: rgb(231, 60, 60);
                ;
            }
        }
    }
}